// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_IMPORT_ITEM
// * CreateDate    : 2011/9/27 11:24:17
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:17
// * LastChanger   : 2011/9/27 11:24:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvImportItemTable : TableInfo
    {
		public const string C_TableName = "INV_IMPORT_ITEM";
		
		public const string C_IMPORT_ITEM_ID = "IMPORT_ITEM_ID";
		public const string C_IMPORT_ORDER_ID = "IMPORT_ORDER_ID";
		public const string C_PRODUCT_ID = "PRODUCT_ID";
		public const string C_QTY = "QTY";
        public const string C_REMARK = "REMARK";
        public const string C_RELATED_ITEM_ID = "RELATED_ITEM_ID";
        public const string C_STATUS = "STATUS";
        public const string C_LOCATION_ID = "LOCATION_ID";
		
		public InvImportItemTable()
        {
            _tableName = "INV_IMPORT_ITEM";
        }
		
		protected static InvImportItemTable _current;
        public static InvImportItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvImportItemTable();

            _current.Add(C_IMPORT_ITEM_ID, new ColumnInfo(C_IMPORT_ITEM_ID,"ImportItemId", true, typeof(string)));
            _current.Add(C_IMPORT_ORDER_ID, new ColumnInfo(C_IMPORT_ORDER_ID,"ImportOrderId", false, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID,"ProductId", false, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY,"Qty", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK, "Remark", false, typeof(string)));
            _current.Add(C_RELATED_ITEM_ID, new ColumnInfo(C_RELATED_ITEM_ID, "RelatedItemId", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS, "Status", false, typeof(string)));
            _current.Add(C_LOCATION_ID, new ColumnInfo(C_LOCATION_ID, "LocationId", false, typeof(string)));
			
		}
		
		public ColumnInfo IMPORT_ITEM_ID
        {
            get { return this[C_IMPORT_ITEM_ID]; }
        }
		
		public ColumnInfo IMPORT_ORDER_ID
        {
            get { return this[C_IMPORT_ORDER_ID]; }
        }
		
		public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }
        public ColumnInfo LOCATION_ID
        {
            get { return this[C_LOCATION_ID]; }
        }
		public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }

        public ColumnInfo RELATED_ITEM_ID
        {
            get { return this[C_RELATED_ITEM_ID]; }
        }

        public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
	}
}

